﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:self="clr-namespace:Microsoft.Samples.Office.UnifiedCommunications.Gadget"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008">

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="SkinReference.xaml"/>
    </ResourceDictionary.MergedDictionaries>

    <DrawingImage x:Key="Logo">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="#FFFFFFFF" Geometry="M 41.2267,10.3867C 40.92,10.5067 40.56,10.6133 40.1333,10.6934C 39.6933,10.76 39.2533,10.8134 38.8133,10.8134C 37.5067,10.8 36.4933,10.4267 35.7867,9.67999C 35.08,8.94669 34.7067,7.91998 34.7067,6.62665C 34.7333,5.20001 35.12,4.14667 35.88,3.44C 36.64,2.73334 37.6133,2.38666 38.7867,2.38666C 39.3067,2.40002 39.76,2.44 40.1733,2.53336C 40.5733,2.62665 40.92,2.73334 41.2267,2.8667L 41.8133,0.573364C 41.5467,0.426666 41.1467,0.306671 40.6,0.186676C 40.0667,0.0666809 39.4133,0 38.6533,0C 37.3467,0 36.1733,0.266663 35.12,0.786652C 34.0667,1.32001 33.24,2.07999 32.6133,3.09332C 32,4.10669 31.68,5.34668 31.6667,6.79999C 31.6667,8.02667 31.92,9.12 32.4267,10.0933C 32.92,11.0533 33.6667,11.8134 34.6667,12.3733C 35.6533,12.92 36.8933,13.2133 38.3733,13.2267C 39.16,13.2133 39.8267,13.1467 40.4,13.04C 40.96,12.92 41.3867,12.7867 41.6533,12.6534L 41.2267,10.3867 Z M 43.2533,0.213318L 43.2533,13.0133L 46.16,13.0133L 46.16,0.213318L 43.2533,0.213318 Z M 51.72,13.0133L 54.6267,13.0133L 54.6267,2.64001L 58.12,2.64001L 58.12,0.213318L 48.28,0.213318L 48.28,2.64001L 51.72,2.64001L 51.72,13.0133 Z M 66.1067,13.0133L 66.1067,7.67999L 70.32,0.213318L 67.08,0.213318L 65.7867,3.28003L 65.2667,4.56C 65.1067,4.94669 64.96,5.34668 64.8133,5.73334L 64.7733,5.73334L 64.3067,4.54666C 64.16,4.15997 63.9867,3.74664 63.7867,3.28003L 62.48,0.213318L 59.1733,0.213318L 63.2133,7.77335L 63.2133,13.0133L 66.1067,13.0133 Z M 71.44,13.0133L 81.3867,13.0133L 81.3867,10.6266L 75.3333,10.6266L 75.3333,10.5467L 81.2933,1.88L 81.2933,0.213318L 72.0133,0.213318L 72.0133,2.60001L 77.5333,2.60001L 77.5333,2.67999L 71.44,11.4533L 71.44,13.0133 Z M 90.8667,5.24002L 86.16,5.24002L 86.16,2.58667L 91.16,2.58667L 91.16,0.213318L 83.2533,0.213318L 83.2533,13.0133L 91.4267,13.0133L 91.4267,10.64L 86.16,10.64L 86.16,7.60001L 90.8667,7.60001L 90.8667,5.24002 Z M 95.9067,13.0133L 95.9067,9.15997C 95.9067,8.12 95.9067,7.13333 95.88,6.21332C 95.8667,5.29333 95.84,4.41333 95.8,3.57336L 95.8533,3.54666C 96.1733,4.30667 96.5333,5.07999 96.92,5.8667C 97.3067,6.64001 97.6933,7.38666 98.08,8.07999L 100.813,13.0133L 103.853,13.0133L 103.853,0.213318L 101.2,0.213318L 101.2,3.93335C 101.2,4.89334 101.213,5.82666 101.253,6.70667C 101.28,7.58667 101.347,8.45331 101.44,9.29333L 101.387,9.29333C 101.093,8.56 100.773,7.81335 100.413,7.05334C 100.053,6.30667 99.68,5.58667 99.2933,4.90668L 96.64,0.213318L 93.2533,0.213318L 93.2533,13.0133L 95.9067,13.0133 Z M 105.76,12.4267C 106.133,12.6266 106.653,12.8134 107.293,12.9733C 107.947,13.1333 108.64,13.2133 109.387,13.2267C 110.56,13.2133 111.52,13.0267 112.293,12.6667C 113.053,12.3067 113.627,11.8267 114,11.2267C 114.373,10.6266 114.56,9.95999 114.56,9.22668C 114.56,8.33331 114.293,7.57336 113.747,6.95999C 113.2,6.34668 112.36,5.82666 111.227,5.41333C 110.413,5.12 109.813,4.84 109.427,4.58667C 109.04,4.32001 108.853,4 108.853,3.61334C 108.853,3.26666 109.013,2.97333 109.32,2.74664C 109.627,2.50665 110.093,2.38666 110.72,2.37332C 111.347,2.38666 111.893,2.45331 112.333,2.58667C 112.787,2.72 113.147,2.85333 113.4,2.98669L 114.04,0.666656C 113.667,0.480011 113.2,0.320007 112.667,0.200012C 112.133,0.0666809 111.493,0 110.773,0C 109.253,0.0266724 108.067,0.386658 107.227,1.10669C 106.373,1.82666 105.947,2.73334 105.933,3.85333C 105.947,4.78665 106.267,5.54666 106.893,6.15997C 107.52,6.78665 108.373,7.26666 109.44,7.64001C 110.213,7.90668 110.76,8.17334 111.093,8.45331C 111.44,8.72 111.6,9.05334 111.6,9.44C 111.587,9.8667 111.413,10.2 111.08,10.4533C 110.733,10.6934 110.227,10.8267 109.56,10.8267C 108.933,10.8267 108.347,10.7333 107.787,10.5867C 107.227,10.4267 106.747,10.24 106.347,10.0267L 105.76,12.4267 Z "/>
                <GeometryDrawing Brush="#FF5699D3" Geometry="M 0,19.5067C 0,17.3067 1.78667,15.5067 4,15.5067C 6.21333,15.5067 8,17.3067 8,19.5067C 8,21.72 6.21333,23.5067 4,23.5067C 1.78667,23.5067 0,21.72 0,19.5067 Z "/>
                <GeometryDrawing Brush="#FFB80C1D" Geometry="M 0,5.50665C 0,3.30667 1.78667,1.50665 4,1.50665C 6.21333,1.50665 8,3.30667 8,5.50665C 8,7.72 6.21333,9.50665 4,9.50665C 1.78667,9.50665 0,7.72 0,5.50665 Z "/>
                <GeometryDrawing Brush="#FFFF8103" Geometry="M 12,19.5067C 12,15.92 14.9067,13.0133 18.5067,13.0133C 22.0933,13.0133 25,15.92 25,19.5067C 25,23.1067 22.0933,26.0133 18.5067,26.0133C 14.9067,26.0133 12,23.1067 12,19.5067 Z "/>
                <GeometryDrawing Brush="#88FFFFFF" Geometry="M 36.92,24.52C 36.7867,24.5734 36.6267,24.6266 36.4533,24.6534C 36.28,24.6934 36.0933,24.7067 35.88,24.7067C 35.4133,24.7067 35.04,24.56 34.7333,24.2933C 34.44,24.0133 34.28,23.6 34.2667,23.0667C 34.2667,22.5734 34.4133,22.1733 34.6933,21.88C 34.9733,21.5734 35.3467,21.4267 35.84,21.4133C 36.08,21.4133 36.28,21.44 36.4533,21.4667C 36.6133,21.5067 36.7467,21.5467 36.8533,21.6L 37.1467,20.24C 36.9467,20.1733 36.7333,20.12 36.4933,20.08C 36.24,20.04 36,20.0133 35.76,20.0133C 35.0267,20.0267 34.4133,20.16 33.92,20.44C 33.4133,20.72 33.04,21.0933 32.7867,21.56C 32.52,22.0267 32.4,22.56 32.4,23.1333C 32.4133,24.0667 32.6933,24.8 33.24,25.3333C 33.7867,25.8667 34.5467,26.1333 35.5067,26.1467C 35.8533,26.1467 36.1733,26.12 36.4533,26.0667C 36.7467,26.0133 36.9733,25.9467 37.1333,25.8667L 36.92,24.52 Z M 40.48,21.3067C 40.8933,21.3333 41.1867,21.5067 41.3733,21.8667C 41.56,22.2133 41.6533,22.6133 41.64,23.0667C 41.64,23.6133 41.5333,24.04 41.3333,24.3467C 41.12,24.6667 40.84,24.8267 40.48,24.84C 40.0933,24.8267 39.7867,24.6534 39.5867,24.3333C 39.3867,24.0133 39.28,23.5867 39.28,23.0667C 39.28,22.6266 39.36,22.2133 39.5467,21.8667C 39.7333,21.52 40.04,21.3333 40.48,21.3067 Z M 40.5333,20.0133C 39.5733,20.0267 38.8133,20.3067 38.2533,20.8533C 37.6933,21.4133 37.4133,22.16 37.4,23.12C 37.4133,24.08 37.7067,24.8134 38.2667,25.3467C 38.84,25.8667 39.56,26.1333 40.4267,26.1467C 40.96,26.1467 41.4667,26.04 41.9333,25.8134C 42.4,25.5867 42.7867,25.24 43.08,24.7733C 43.3733,24.32 43.52,23.7333 43.5333,23.0133C 43.52,22.12 43.24,21.4 42.7067,20.8533C 42.16,20.3067 41.44,20.0267 40.5333,20.0133 Z M 44.7333,26.0133L 46.56,26.0133L 46.56,22.6266C 46.56,22.5467 46.56,22.4667 46.5733,22.3867C 46.5867,22.3067 46.6,22.24 46.6267,22.1733C 46.6933,22 46.7867,21.84 46.9467,21.7067C 47.0933,21.5734 47.3067,21.4933 47.5467,21.4933C 47.88,21.4933 48.12,21.6133 48.2667,21.84C 48.4133,22.0667 48.48,22.3733 48.48,22.76L 48.48,26.0133L 50.2933,26.0133L 50.2933,22.5334C 50.2933,21.6667 50.0933,21.04 49.6933,20.6266C 49.3067,20.2133 48.8133,20.0133 48.2,20.0133C 47.72,20.0267 47.32,20.1333 47.0133,20.3467C 46.72,20.5467 46.5067,20.7466 46.3867,20.9467L 46.3467,20.9467L 46.2667,20.1467L 44.68,20.1467L 44.72,21L 44.7333,22.0133L 44.7333,26.0133 Z M 51.7333,26.0133L 53.56,26.0133L 53.56,22.6266C 53.56,22.5467 53.56,22.4667 53.5733,22.3867C 53.5867,22.3067 53.6,22.24 53.6267,22.1733C 53.6933,22 53.7867,21.84 53.9467,21.7067C 54.0933,21.5734 54.3067,21.4933 54.5467,21.4933C 54.88,21.4933 55.12,21.6133 55.2667,21.84C 55.4133,22.0667 55.48,22.3733 55.48,22.76L 55.48,26.0133L 57.2933,26.0133L 57.2933,22.5334C 57.2933,21.6667 57.0933,21.04 56.6933,20.6266C 56.3067,20.2133 55.8133,20.0133 55.2,20.0133C 54.72,20.0267 54.32,20.1333 54.0133,20.3467C 53.72,20.5467 53.5067,20.7466 53.3867,20.9467L 53.3467,20.9467L 53.2667,20.1467L 51.68,20.1467L 51.72,21L 51.7333,22.0133L 51.7333,26.0133 Z M 60.12,22.4133C 60.1467,22.1467 60.24,21.8933 60.4133,21.64C 60.6,21.3867 60.8667,21.24 61.2533,21.2267C 61.5333,21.2267 61.7467,21.3067 61.8933,21.44C 62.04,21.5734 62.1467,21.72 62.2,21.9067C 62.2667,22.0933 62.2933,22.2533 62.28,22.4133L 60.12,22.4133 Z M 63.92,23.6667L 63.96,23.3733C 63.9733,23.24 63.9733,23.0933 63.9733,22.9467C 63.9733,22.4533 63.8933,21.9733 63.72,21.5334C 63.5467,21.0933 63.2667,20.7333 62.88,20.4533C 62.4933,20.1733 61.9867,20.0267 61.36,20.0133C 60.68,20.0267 60.12,20.1867 59.68,20.4933C 59.2533,20.8 58.92,21.2 58.7067,21.6667C 58.5067,22.1467 58.4,22.64 58.4,23.1467C 58.4,24.08 58.68,24.8 59.2133,25.3333C 59.76,25.8667 60.52,26.1333 61.5333,26.1467C 61.92,26.1467 62.3067,26.1067 62.6667,26.0533C 63.0267,25.9867 63.3467,25.8933 63.6533,25.7733L 63.4133,24.5334C 63.1733,24.6133 62.92,24.68 62.6533,24.72C 62.3867,24.76 62.1067,24.7733 61.7867,24.7733C 61.36,24.7733 60.9733,24.6934 60.6667,24.5067C 60.36,24.32 60.1733,24.04 60.1333,23.6667L 63.92,23.6667 Z M 69.92,24.52C 69.7867,24.5734 69.6267,24.6266 69.4533,24.6534C 69.28,24.6934 69.0933,24.7067 68.88,24.7067C 68.4133,24.7067 68.04,24.56 67.7333,24.2933C 67.44,24.0133 67.28,23.6 67.2667,23.0667C 67.2667,22.5734 67.4133,22.1733 67.6933,21.88C 67.9733,21.5734 68.3467,21.4267 68.84,21.4133C 69.08,21.4133 69.28,21.44 69.4533,21.4667C 69.6133,21.5067 69.7467,21.5467 69.8533,21.6L 70.1467,20.24C 69.9467,20.1733 69.7333,20.12 69.4933,20.08C 69.24,20.04 69,20.0133 68.76,20.0133C 68.0267,20.0267 67.4133,20.16 66.92,20.44C 66.4133,20.72 66.04,21.0933 65.7867,21.56C 65.52,22.0267 65.4,22.56 65.4,23.1333C 65.4133,24.0667 65.6933,24.8 66.24,25.3333C 66.7867,25.8667 67.5467,26.1333 68.5067,26.1467C 68.8533,26.1467 69.1733,26.12 69.4533,26.0667C 69.7467,26.0133 69.9733,25.9467 70.1333,25.8667L 69.92,24.52 Z M 70.9867,19.04L 70.9867,20.1467L 70.2,20.1467L 70.2,21.4933L 70.9867,21.4933L 70.9867,23.8933C 70.9867,24.3067 71.0267,24.6534 71.1067,24.9333C 71.2,25.2267 71.32,25.4533 71.4933,25.6266C 71.64,25.7867 71.8267,25.9067 72.0533,26C 72.2933,26.0933 72.56,26.1467 72.8533,26.1467C 73.12,26.1467 73.3467,26.1333 73.5467,26.0933C 73.76,26.0667 73.92,26.0267 74.04,25.9733L 74.0267,24.6L 73.7867,24.64L 73.4933,24.64C 73.2133,24.6534 73.0267,24.56 72.92,24.4C 72.8133,24.2267 72.7733,23.96 72.7733,23.6133L 72.7733,21.4933L 74.08,21.4933L 74.08,20.1467L 72.7733,20.1467L 72.7733,18.5467L 70.9867,19.04 Z M 76.24,27.3467C 76.52,26.8667 76.8,26.3333 77.0533,25.7466C 77.32,25.1467 77.5467,24.5467 77.7467,23.92L 75.8933,24.04C 75.8,24.6 75.68,25.1733 75.5333,25.76C 75.3867,26.3467 75.2133,26.9067 75.0267,27.4533L 76.24,27.3467 Z M 80.7333,26.0133L 82.56,26.0133L 82.56,17.48L 80.7333,17.48L 80.7333,26.0133 Z M 85.12,22.4133C 85.1467,22.1467 85.24,21.8933 85.4133,21.64C 85.6,21.3867 85.8667,21.24 86.2533,21.2267C 86.5333,21.2267 86.7467,21.3067 86.8933,21.44C 87.04,21.5734 87.1467,21.72 87.2,21.9067C 87.2667,22.0933 87.2933,22.2533 87.28,22.4133L 85.12,22.4133 Z M 88.92,23.6667L 88.96,23.3733C 88.9733,23.24 88.9733,23.0933 88.9733,22.9467C 88.9733,22.4533 88.8933,21.9733 88.72,21.5334C 88.5467,21.0933 88.2667,20.7333 87.88,20.4533C 87.4933,20.1733 86.9867,20.0267 86.36,20.0133C 85.68,20.0267 85.12,20.1867 84.68,20.4933C 84.2533,20.8 83.92,21.2 83.7067,21.6667C 83.5067,22.1467 83.4,22.64 83.4,23.1467C 83.4,24.08 83.68,24.8 84.2133,25.3333C 84.76,25.8667 85.52,26.1333 86.5333,26.1467C 86.92,26.1467 87.3067,26.1067 87.6667,26.0533C 88.0267,25.9867 88.3467,25.8933 88.6533,25.7733L 88.4133,24.5334C 88.1733,24.6133 87.92,24.68 87.6533,24.72C 87.3867,24.76 87.1067,24.7733 86.7867,24.7733C 86.36,24.7733 85.9733,24.6934 85.6667,24.5067C 85.36,24.32 85.1733,24.04 85.1333,23.6667L 88.92,23.6667 Z M 93.8533,23.88L 93.84,24.04L 93.8133,24.1867C 93.7467,24.3867 93.64,24.5334 93.4667,24.6667C 93.2933,24.7867 93.0933,24.8533 92.8667,24.8667C 92.6533,24.8667 92.4933,24.8 92.36,24.6934C 92.2267,24.5734 92.1467,24.4 92.1467,24.16C 92.16,23.8134 92.32,23.5734 92.64,23.4267C 92.96,23.2933 93.36,23.2267 93.8533,23.24L 93.8533,23.88 Z M 95.6267,22.5467C 95.64,21.84 95.4533,21.24 95.0667,20.76C 94.68,20.28 94.0133,20.0267 93.0533,20.0133C 92.5067,20.0267 92.0533,20.08 91.6667,20.1867C 91.2667,20.2933 90.9733,20.4133 90.7733,20.5334L 91.1067,21.7067C 91.3067,21.5867 91.5467,21.48 91.8267,21.3867C 92.12,21.3067 92.4133,21.2667 92.72,21.2667C 93.16,21.2667 93.4533,21.36 93.6,21.52C 93.7333,21.68 93.8,21.8533 93.7867,22.0133L 93.7867,22.1067C 92.7467,22.0933 91.9067,22.28 91.2933,22.6534C 90.68,23.0133 90.36,23.5867 90.3467,24.3467C 90.36,24.8267 90.52,25.24 90.8533,25.6C 91.1867,25.9467 91.64,26.1333 92.24,26.1467C 92.6,26.1467 92.92,26.08 93.2,25.96C 93.4933,25.84 93.7333,25.6534 93.92,25.4267L 93.96,25.4267L 94.0667,26.0133L 95.7067,26.0133C 95.68,25.84 95.6667,25.64 95.6533,25.3867C 95.64,25.1333 95.6267,24.8667 95.6267,24.5867L 95.6267,22.5467 Z M 96.7333,26.0133L 98.56,26.0133L 98.56,23.04L 98.56,22.8267L 98.5867,22.6266C 98.6533,22.3467 98.7867,22.12 99.0133,21.96C 99.2267,21.7867 99.5067,21.7067 99.84,21.7067C 99.9467,21.7067 100.027,21.7067 100.107,21.72C 100.187,21.7333 100.267,21.7466 100.333,21.76L 100.333,20.04L 100.147,20.0133L 99.9467,20.0133C 99.6533,20.0133 99.36,20.1067 99.0533,20.3067C 98.76,20.4933 98.52,20.8 98.36,21.2267L 98.32,21.2267L 98.2533,20.1467L 96.68,20.1467L 96.72,20.9733C 96.7333,21.28 96.7333,21.6534 96.7333,22.08L 96.7333,26.0133 Z M 101.733,26.0133L 103.56,26.0133L 103.56,22.6266C 103.56,22.5467 103.56,22.4667 103.573,22.3867C 103.587,22.3067 103.6,22.24 103.627,22.1733C 103.693,22 103.787,21.84 103.947,21.7067C 104.093,21.5734 104.307,21.4933 104.547,21.4933C 104.88,21.4933 105.12,21.6133 105.267,21.84C 105.413,22.0667 105.48,22.3733 105.48,22.76L 105.48,26.0133L 107.293,26.0133L 107.293,22.5334C 107.293,21.6667 107.093,21.04 106.693,20.6266C 106.307,20.2133 105.813,20.0133 105.2,20.0133C 104.72,20.0267 104.32,20.1333 104.013,20.3467C 103.72,20.5467 103.507,20.7466 103.387,20.9467L 103.347,20.9467L 103.267,20.1467L 101.68,20.1467L 101.72,21L 101.733,22.0133L 101.733,26.0133 Z M 109.24,27.3467C 109.52,26.8667 109.8,26.3333 110.053,25.7466C 110.32,25.1467 110.547,24.5467 110.747,23.92L 108.893,24.04C 108.8,24.6 108.68,25.1733 108.533,25.76C 108.387,26.3467 108.213,26.9067 108.027,27.4533L 109.24,27.3467 Z M 117.6,23.4L 117.587,23.6133C 117.573,23.68 117.56,23.7466 117.547,23.8134C 117.493,24.08 117.373,24.2933 117.173,24.4533C 116.987,24.6133 116.76,24.6934 116.493,24.6934C 116.107,24.6934 115.8,24.5467 115.587,24.2533C 115.36,23.9733 115.253,23.5734 115.24,23.08C 115.24,22.6 115.347,22.2 115.56,21.8933C 115.773,21.5734 116.093,21.4133 116.507,21.4C 116.787,21.4133 117.027,21.4933 117.213,21.6667C 117.4,21.84 117.52,22.0533 117.573,22.3067L 117.587,22.4667L 117.6,22.6266L 117.6,23.4 Z M 117.6,17.48L 117.6,20.68L 117.573,20.68C 117.44,20.4667 117.24,20.3067 116.973,20.1867C 116.707,20.08 116.387,20.0133 116.027,20.0133C 115.547,20.0133 115.107,20.1333 114.72,20.3867C 114.32,20.6266 114,20.9867 113.76,21.44C 113.52,21.9067 113.4,22.4667 113.4,23.1333C 113.413,24.0533 113.653,24.7867 114.133,25.32C 114.6,25.8533 115.187,26.1333 115.907,26.1467C 116.293,26.1467 116.64,26.0667 116.96,25.8933C 117.293,25.7333 117.547,25.48 117.747,25.1467L 117.76,25.1467L 117.853,26.0133L 119.467,26.0133L 119.44,25.24L 119.413,24.2667L 119.413,17.48L 117.6,17.48 Z M 121.64,17.5867C 121.347,17.6 121.107,17.68 120.933,17.8533C 120.773,18.0267 120.68,18.24 120.68,18.52C 120.68,18.7733 120.773,18.9867 120.933,19.16C 121.107,19.3333 121.333,19.4133 121.627,19.4267C 121.933,19.4133 122.173,19.3333 122.347,19.16C 122.52,18.9867 122.613,18.7733 122.613,18.52C 122.6,18.24 122.52,18.0267 122.347,17.8533C 122.173,17.68 121.947,17.6 121.64,17.5867 Z M 122.56,26.0133L 122.56,20.1467L 120.733,20.1467L 120.733,26.0133L 122.56,26.0133 Z M 124.4,25.72C 124.627,25.8533 124.893,25.9467 125.227,26.0267C 125.547,26.1067 125.907,26.1467 126.293,26.1467C 127.133,26.1333 127.76,25.9467 128.2,25.6C 128.627,25.2533 128.84,24.8 128.84,24.24C 128.827,23.8134 128.707,23.44 128.453,23.1467C 128.2,22.8533 127.8,22.6133 127.24,22.4267C 126.88,22.3067 126.64,22.2 126.493,22.0933C 126.36,22 126.28,21.88 126.293,21.7466C 126.293,21.6 126.347,21.48 126.467,21.4C 126.587,21.32 126.76,21.28 126.987,21.2667C 127.24,21.28 127.493,21.32 127.72,21.3867C 127.947,21.4533 128.12,21.5334 128.253,21.6133L 128.587,20.3467C 128.4,20.2533 128.16,20.1733 127.88,20.12C 127.587,20.0533 127.28,20.0133 126.933,20.0133C 126.2,20.0267 125.613,20.2133 125.187,20.56C 124.76,20.92 124.547,21.3867 124.547,21.9467C 124.533,22.2933 124.653,22.6133 124.92,22.92C 125.173,23.2267 125.613,23.4933 126.213,23.6934C 126.547,23.8 126.773,23.9067 126.893,24.0133C 127.027,24.1067 127.08,24.2267 127.067,24.3733C 127.08,24.52 127.013,24.64 126.893,24.7333C 126.76,24.8134 126.56,24.8667 126.293,24.8667C 126.013,24.8533 125.72,24.8134 125.427,24.72C 125.133,24.6266 124.893,24.52 124.72,24.4133L 124.4,25.72 Z M 133.92,24.52C 133.787,24.5734 133.627,24.6266 133.453,24.6534C 133.28,24.6934 133.093,24.7067 132.88,24.7067C 132.413,24.7067 132.04,24.56 131.733,24.2933C 131.44,24.0133 131.28,23.6 131.267,23.0667C 131.267,22.5734 131.413,22.1733 131.693,21.88C 131.973,21.5734 132.347,21.4267 132.84,21.4133C 133.08,21.4133 133.28,21.44 133.453,21.4667C 133.613,21.5067 133.747,21.5467 133.853,21.6L 134.147,20.24C 133.947,20.1733 133.733,20.12 133.493,20.08C 133.24,20.04 133,20.0133 132.76,20.0133C 132.027,20.0267 131.413,20.16 130.92,20.44C 130.413,20.72 130.04,21.0933 129.787,21.56C 129.52,22.0267 129.4,22.56 129.4,23.1333C 129.413,24.0667 129.693,24.8 130.24,25.3333C 130.787,25.8667 131.547,26.1333 132.507,26.1467C 132.853,26.1467 133.173,26.12 133.453,26.0667C 133.747,26.0133 133.973,25.9467 134.133,25.8667L 133.92,24.52 Z M 140.267,20.1467L 138.427,20.1467L 138.427,23.64L 138.413,23.8533C 138.413,23.92 138.387,23.9733 138.373,24.04C 138.307,24.1867 138.2,24.3333 138.053,24.4667C 137.907,24.5867 137.707,24.6667 137.453,24.6667C 137.133,24.6667 136.907,24.5467 136.76,24.3067C 136.613,24.0667 136.547,23.7333 136.547,23.3067L 136.547,20.1467L 134.707,20.1467L 134.707,23.5867C 134.72,24.4933 134.92,25.1467 135.293,25.5467C 135.68,25.9467 136.16,26.1467 136.773,26.1467C 137.293,26.1333 137.707,26.0133 138,25.8C 138.293,25.5867 138.493,25.3867 138.613,25.1867L 138.64,25.1867L 138.733,26.0133L 140.307,26.0133L 140.28,25.1733C 140.267,24.8667 140.267,24.5067 140.267,24.1333L 140.267,20.1467 Z M 141.4,25.72C 141.627,25.8533 141.893,25.9467 142.227,26.0267C 142.547,26.1067 142.907,26.1467 143.293,26.1467C 144.133,26.1333 144.76,25.9467 145.2,25.6C 145.627,25.2533 145.84,24.8 145.84,24.24C 145.827,23.8134 145.707,23.44 145.453,23.1467C 145.2,22.8533 144.8,22.6133 144.24,22.4267C 143.88,22.3067 143.64,22.2 143.493,22.0933C 143.36,22 143.28,21.88 143.293,21.7466C 143.293,21.6 143.347,21.48 143.467,21.4C 143.587,21.32 143.76,21.28 143.987,21.2667C 144.24,21.28 144.493,21.32 144.72,21.3867C 144.947,21.4533 145.12,21.5334 145.253,21.6133L 145.587,20.3467C 145.4,20.2533 145.16,20.1733 144.88,20.12C 144.587,20.0533 144.28,20.0133 143.933,20.0133C 143.2,20.0267 142.613,20.2133 142.187,20.56C 141.76,20.92 141.547,21.3867 141.547,21.9467C 141.533,22.2933 141.653,22.6133 141.92,22.92C 142.173,23.2267 142.613,23.4933 143.213,23.6934C 143.547,23.8 143.773,23.9067 143.893,24.0133C 144.027,24.1067 144.08,24.2267 144.067,24.3733C 144.08,24.52 144.013,24.64 143.893,24.7333C 143.76,24.8134 143.56,24.8667 143.293,24.8667C 143.013,24.8533 142.72,24.8134 142.427,24.72C 142.133,24.6266 141.893,24.52 141.72,24.4133L 141.4,25.72 Z M 146.4,25.72C 146.627,25.8533 146.893,25.9467 147.227,26.0267C 147.547,26.1067 147.907,26.1467 148.293,26.1467C 149.133,26.1333 149.76,25.9467 150.2,25.6C 150.627,25.2533 150.84,24.8 150.84,24.24C 150.827,23.8134 150.707,23.44 150.453,23.1467C 150.2,22.8533 149.8,22.6133 149.24,22.4267C 148.88,22.3067 148.64,22.2 148.493,22.0933C 148.36,22 148.28,21.88 148.293,21.7466C 148.293,21.6 148.347,21.48 148.467,21.4C 148.587,21.32 148.76,21.28 148.987,21.2667C 149.24,21.28 149.493,21.32 149.72,21.3867C 149.947,21.4533 150.12,21.5334 150.253,21.6133L 150.587,20.3467C 150.4,20.2533 150.16,20.1733 149.88,20.12C 149.587,20.0533 149.28,20.0133 148.933,20.0133C 148.2,20.0267 147.613,20.2133 147.187,20.56C 146.76,20.92 146.547,21.3867 146.547,21.9467C 146.533,22.2933 146.653,22.6133 146.92,22.92C 147.173,23.2267 147.613,23.4933 148.213,23.6934C 148.547,23.8 148.773,23.9067 148.893,24.0133C 149.027,24.1067 149.08,24.2267 149.067,24.3733C 149.08,24.52 149.013,24.64 148.893,24.7333C 148.76,24.8134 148.56,24.8667 148.293,24.8667C 148.013,24.8533 147.72,24.8134 147.427,24.72C 147.133,24.6266 146.893,24.52 146.72,24.4133L 146.4,25.72 Z M 153.24,27.3467C 153.52,26.8667 153.8,26.3333 154.053,25.7466C 154.32,25.1467 154.547,24.5467 154.747,23.92L 152.893,24.04C 152.8,24.6 152.68,25.1733 152.533,25.76C 152.387,26.3467 152.213,26.9067 152.027,27.4533L 153.24,27.3467 Z M 160.853,23.88L 160.84,24.04L 160.813,24.1867C 160.747,24.3867 160.64,24.5334 160.467,24.6667C 160.293,24.7867 160.093,24.8533 159.867,24.8667C 159.653,24.8667 159.493,24.8 159.36,24.6934C 159.227,24.5734 159.147,24.4 159.147,24.16C 159.16,23.8134 159.32,23.5734 159.64,23.4267C 159.96,23.2933 160.36,23.2267 160.853,23.24L 160.853,23.88 Z M 162.627,22.5467C 162.64,21.84 162.453,21.24 162.067,20.76C 161.68,20.28 161.013,20.0267 160.053,20.0133C 159.507,20.0267 159.053,20.08 158.667,20.1867C 158.267,20.2933 157.973,20.4133 157.773,20.5334L 158.107,21.7067C 158.307,21.5867 158.547,21.48 158.827,21.3867C 159.12,21.3067 159.413,21.2667 159.72,21.2667C 160.16,21.2667 160.453,21.36 160.6,21.52C 160.733,21.68 160.8,21.8533 160.787,22.0133L 160.787,22.1067C 159.747,22.0933 158.907,22.28 158.293,22.6534C 157.68,23.0133 157.36,23.5867 157.347,24.3467C 157.36,24.8267 157.52,25.24 157.853,25.6C 158.187,25.9467 158.64,26.1333 159.24,26.1467C 159.6,26.1467 159.92,26.08 160.2,25.96C 160.493,25.84 160.733,25.6534 160.92,25.4267L 160.96,25.4267L 161.067,26.0133L 162.707,26.0133C 162.68,25.84 162.667,25.64 162.653,25.3867C 162.64,25.1333 162.627,24.8667 162.627,24.5867L 162.627,22.5467 Z M 167.92,24.52C 167.787,24.5734 167.627,24.6266 167.453,24.6534C 167.28,24.6934 167.093,24.7067 166.88,24.7067C 166.413,24.7067 166.04,24.56 165.733,24.2933C 165.44,24.0133 165.28,23.6 165.267,23.0667C 165.267,22.5734 165.413,22.1733 165.693,21.88C 165.973,21.5734 166.347,21.4267 166.84,21.4133C 167.08,21.4133 167.28,21.44 167.453,21.4667C 167.613,21.5067 167.747,21.5467 167.853,21.6L 168.147,20.24C 167.947,20.1733 167.733,20.12 167.493,20.08C 167.24,20.04 167,20.0133 166.76,20.0133C 166.027,20.0267 165.413,20.16 164.92,20.44C 164.413,20.72 164.04,21.0933 163.787,21.56C 163.52,22.0267 163.4,22.56 163.4,23.1333C 163.413,24.0667 163.693,24.8 164.24,25.3333C 164.787,25.8667 165.547,26.1333 166.507,26.1467C 166.853,26.1467 167.173,26.12 167.453,26.0667C 167.747,26.0133 167.973,25.9467 168.133,25.8667L 167.92,24.52 Z M 169.987,19.04L 169.987,20.1467L 169.2,20.1467L 169.2,21.4933L 169.987,21.4933L 169.987,23.8933C 169.987,24.3067 170.027,24.6534 170.107,24.9333C 170.2,25.2267 170.32,25.4533 170.493,25.6266C 170.64,25.7867 170.827,25.9067 171.053,26C 171.293,26.0933 171.56,26.1467 171.853,26.1467C 172.12,26.1467 172.347,26.1333 172.547,26.0933C 172.76,26.0667 172.92,26.0267 173.04,25.9733L 173.027,24.6L 172.787,24.64L 172.493,24.64C 172.213,24.6534 172.027,24.56 171.92,24.4C 171.813,24.2267 171.773,23.96 171.773,23.6133L 171.773,21.4933L 173.08,21.4933L 173.08,20.1467L 171.773,20.1467L 171.773,18.5467L 169.987,19.04 Z M 174.653,26.1467C 174.987,26.1333 175.253,26.04 175.453,25.8267C 175.64,25.6266 175.747,25.36 175.747,25.04C 175.747,24.7067 175.64,24.44 175.453,24.24C 175.253,24.04 175,23.9333 174.68,23.92C 174.36,23.9333 174.093,24.04 173.907,24.24C 173.707,24.44 173.6,24.7067 173.6,25.04C 173.6,25.36 173.707,25.6266 173.893,25.8267C 174.093,26.04 174.347,26.1333 174.653,26.1467 Z "/>
                <GeometryDrawing Brush="#FFFFFFFF" Geometry="M 14.5067,5.01334C 14.5067,2.79999 16.2933,1.01334 18.5067,1.01334C 20.7067,1.01334 22.5067,2.79999 22.5067,5.01334C 22.5067,7.22668 20.7067,9.01334 18.5067,9.01334C 16.2933,9.01334 14.5067,7.22668 14.5067,5.01334 Z "/>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>
    
    <DrawingImage x:Key="MinimizeIcon">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Geometry="M 1,0L 11,0L 11,4L 1,4L 1,0 Z ">
                    <GeometryDrawing.Brush>
                        <LinearGradientBrush StartPoint="0.5,1" EndPoint="0.5,0.171875">
                            <LinearGradientBrush.GradientStops>
                                <GradientStopCollection>
                                    <GradientStop Color="#FF999999" Offset="0" />
                                    <GradientStop Color="#FFffffff" Offset="0.9944440126419067" />
                                </GradientStopCollection>
                            </LinearGradientBrush.GradientStops>
                        </LinearGradientBrush>
                    </GeometryDrawing.Brush>
                </GeometryDrawing>
                <GeometryDrawing Brush="#FF000000" Geometry="M 0,0L 0,5L 12,5L 12,0L 0,0 Z M 1,1L 11,1L 11,4L 1,4L 1,1 Z "/>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>
    
    <DrawingImage x:Key="MaximizeIcon">
        <DrawingImage.Drawing>

            <DrawingGroup>
                <GeometryDrawing Geometry="M 1,1L 1,9L 11,9L 11,1L 1,1 Z M 3,3L 9,3L 9,7L 3,7L 3,3 Z ">
                    <GeometryDrawing.Brush>
                        <LinearGradientBrush
            				StartPoint="0.5,1.125"
            				EndPoint="0.5,0.296875">
                            <LinearGradientBrush.GradientStops>
                                <GradientStopCollection>
                                    <GradientStop
            							Color="#FF999999"
            							Offset="0" />
                                    <GradientStop
            							Color="#FFffffff"
            							Offset="0.9944440126419067" />
                                </GradientStopCollection>
                            </LinearGradientBrush.GradientStops>
                        </LinearGradientBrush>

                    </GeometryDrawing.Brush>
                </GeometryDrawing>
                <GeometryDrawing Brush="#FF000000" Geometry="M 3,3L 3,7L 9,7L 9,3L 3,3 Z M 4,4L 8,4L 8,6L 4,6L 4,4 Z M 0,0L 0,10L 12,10L 12,0L 0,0 Z M 1,1L 11,1L 11,9L 1,9L 1,1 Z "/>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>
    
    <DrawingImage x:Key="CloseIcon">
        <DrawingImage.Drawing>
            <DrawingGroup>
                <GeometryDrawing Brush="#FFFFFFFF" Geometry="M 0,0L 3.64,4L 0,8L 3.64,8L 5,6.37335L 6.36,8L 10,8L 6.36,4L 10,0L 6.36,0L 5.02667,2.65332L 3.64,0L 0,0 Z ">
                    <GeometryDrawing.Pen>
                        <Pen StartLineCap="Round" EndLineCap="Round" LineJoin="Round" Brush="#FF000000"/>
                    </GeometryDrawing.Pen>
                </GeometryDrawing>
            </DrawingGroup>
        </DrawingImage.Drawing>
    </DrawingImage>

    <Style x:Key="Min_Button" TargetType="{x:Type Button}" BasedOn="{x:Null}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Grid x:Name="RootGrid" ClipToBounds="False" Cursor="Hand" SnapsToDevicePixels="True">
                        <Border CornerRadius="0,0,0,3" Opacity="0.25">
                            <Border.Background>
                                <RadialGradientBrush
                        			Center="0.46511627906976744,1"
                        			GradientOrigin="0.46511627906976744,1"
                        			RadiusX="0.5494186046511629"
                        			RadiusY="0.5494186046511629">
                                    <RadialGradientBrush.RelativeTransform>
                                        <TransformGroup>
                                            <ScaleTransform CenterX="0.465" CenterY="1" ScaleX="0.94" ScaleY="1"/>
                                            <SkewTransform AngleX="0" AngleY="0" CenterX="0.465" CenterY="1"/>
                                            <RotateTransform Angle="0" CenterX="0.465" CenterY="1"/>
                                            <TranslateTransform X="0.033" Y="0"/>
                                        </TransformGroup>
                                    </RadialGradientBrush.RelativeTransform>
                                    <RadialGradientBrush.GradientStops>
                                        <GradientStopCollection>
                                            <GradientStop Color="#7FFFFFFF" Offset="0" />
                                            <GradientStop Color="#3FFFFFFF" Offset="0.48888900876045227" />
                                            <GradientStop Color="#00FFFFFF" Offset="1" />
                                        </GradientStopCollection>
                                    </RadialGradientBrush.GradientStops>
                                </RadialGradientBrush>
                            </Border.Background>
                        </Border>
                        <Border CornerRadius="0,0,0,3" Opacity="0.21" BorderBrush="#FFFFFFFF" BorderThickness="1,0,1,1" Margin="0,1,0,0"/>
                        <Image Source="{StaticResource MinimizeIcon}" Height="5" Width="12" VerticalAlignment="Bottom" Margin="0,0,0,3"  />
                        <Rectangle IsHitTestVisible="False" Opacity="0.73" VerticalAlignment="Top" Height="1" Fill="#FFFFFFFF"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="True"/>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
    <Style x:Key="Max_Button" TargetType="{x:Type Button}" BasedOn="{x:Null}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Grid x:Name="RootGrid" ClipToBounds="False" Cursor="Hand" SnapsToDevicePixels="True">
                        <Border CornerRadius="0,0,0,0" Opacity="0.25">
                            <Border.Background>
                                <RadialGradientBrush Center="0.46511627906976744,1" GradientOrigin="0.46511627906976744,1" RadiusX="0.5494186046511629" RadiusY="0.5494186046511629">
                                    <RadialGradientBrush.RelativeTransform>
                                        <TransformGroup>
                                            <ScaleTransform CenterX="0.465" CenterY="1" ScaleX="0.94" ScaleY="1"/>
                                            <SkewTransform AngleX="0" AngleY="0" CenterX="0.465" CenterY="1"/>
                                            <RotateTransform Angle="0" CenterX="0.465" CenterY="1"/>
                                            <TranslateTransform X="0.033" Y="0"/>
                                        </TransformGroup>
                                    </RadialGradientBrush.RelativeTransform>
                                    <RadialGradientBrush.GradientStops>
                                        <GradientStopCollection>
                                            <GradientStop Color="#7FFFFFFF" Offset="0" />
                                            <GradientStop Color="#3FFFFFFF" Offset="0.48888900876045227" />
                                            <GradientStop Color="#00FFFFFF" Offset="1" />
                                        </GradientStopCollection>
                                    </RadialGradientBrush.GradientStops>
                                </RadialGradientBrush>
                            </Border.Background>
                        </Border>
                        <Border CornerRadius="0,0,0,0" Opacity="0.21" BorderBrush="#FFFFFFFF" BorderThickness="1,0,1,1" Margin="0,1,0,0"/>
                        <Image x:Name="MaximizeImage" Source="{StaticResource MaximizeIcon}" Height="10" Width="12"  />
                        <Rectangle IsHitTestVisible="False" Opacity="0.73" VerticalAlignment="Top" Height="1" Fill="#FFFFFFFF"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="True"/>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
    <Style x:Key="Close_Button" TargetType="{x:Type Button}" BasedOn="{x:Null}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Grid x:Name="RootGrid" ClipToBounds="False" Cursor="Hand" SnapsToDevicePixels="True">
                        <Border CornerRadius="0,0,3,0" Visibility="Collapsed" x:Name="glowBorder">
                            <Border.Background>
                                <RadialGradientBrush Center="0.46511627906976744,1" GradientOrigin="0.46511627906976744,1" RadiusX="0.5494186046511629" RadiusY="0.5494186046511629">
                                    <RadialGradientBrush.GradientStops>
                                        <GradientStopCollection>
                                            <GradientStop Color="#FFc95005" Offset="0" />
                                            <GradientStop Color="#FFa01808" Offset="0.48888900876045227" />
                                            <GradientStop Color="#FF660000" Offset="0.9888889789581299" />
                                            <GradientStop Color="#FF660000" Offset="0.9944440126419067" />
                                        </GradientStopCollection>
                                    </RadialGradientBrush.GradientStops>
                                </RadialGradientBrush>
                            </Border.Background>
                        </Border>
                        <Border CornerRadius="0,0,3,0" Opacity="0.21" BorderBrush="#FFFFFFFF" BorderThickness="1,0,1,1" Margin="0,1,0,0" Visibility="Collapsed"/>
                        <Image Source="{StaticResource CloseIcon}" Height="10" Width="12"  />
                        <Rectangle IsHitTestVisible="False" Opacity="0.73" VerticalAlignment="Top" Height="1" Fill="#FFFFFFFF" Visibility="Collapsed"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsMouseOver" Value="True">
                            <Setter TargetName="glowBorder" Property="Visibility" Value="Visible"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
    <Style x:Key="ChromelessWindowTemplate" TargetType="{x:Type Window}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Window}">
                    <Grid Margin="7,7,7,7">
                        <Grid>
                            <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="8" RadiusY="8" Opacity="1" Margin="3,3,3,3">
                                <Rectangle.Fill>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="#FF1E2333" Offset="0"/>
                                        <GradientStop Color="#FF393E51" Offset="1"/>
                                        <GradientStop Color="#E52B3240" Offset="0.665"/>
                                    </LinearGradientBrush>
                                </Rectangle.Fill>
                            </Rectangle>
                            <Grid VerticalAlignment="Top" Height="20">
                                <TextBlock Text="{TemplateBinding Title}" VerticalAlignment="Center" HorizontalAlignment="Left" x:Name="TitlePresenter" FontSize="14" FontWeight="Bold" Foreground="#FFFFFFFF" Visibility="Collapsed" />
            		            <Grid HorizontalAlignment="Right" Margin="0,2,10,0" x:Name="MinMaxCloseGrid" VerticalAlignment="Top">
            			            <Grid.ColumnDefinitions>
            				            <ColumnDefinition Width="Auto"/>
            				            <ColumnDefinition Width="Auto"/>
            				            <ColumnDefinition Width="Auto"/>
            			            </Grid.ColumnDefinitions>
            			            <Border Background="#B725201F" BorderBrush="#26FFFFFF" BorderThickness="1,0,1,1" CornerRadius="0,0,4,4" Grid.ColumnSpan="3" Margin="0,1,0,0"/>
            			            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Column="2"/>
            			            <Button x:Name="MinimizeButton" Command="self:SettingsWindow.ToggleMinimizedState" Style="{StaticResource Min_Button}" ToolTip="Minimize" Width="24" Height="16" VerticalAlignment="Top" Margin="2,1,0,2" Visibility="Collapsed" />
            			            <Button x:Name="MaximizeButton"  Command="self:SettingsWindow.ToggleMaximizedState" Style="{StaticResource Max_Button}" ToolTip="Maximize" Width="24" Height="16" HorizontalAlignment="Stretch" Margin="1,1,1,2" Grid.Column="1" VerticalAlignment="Top" Visibility="Collapsed"/>
            			            <Button x:Name="CloseButton" Command="self:SettingsWindow.CloseWindow" Style="{StaticResource Close_Button}" ToolTip="Close" Width="40" Height="16" HorizontalAlignment="Stretch" Grid.Column="2" VerticalAlignment="Top" Margin="0,1,2,2"/>
            			            <Rectangle IsHitTestVisible="False" Opacity="0.21" Margin="2,2,2,0" VerticalAlignment="Top" Height="7" Fill="#FFFFFFFF" Grid.ColumnSpan="3"/>
            		            </Grid>
            	            </Grid>
                            <Border HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="35" Margin="1,1,1,0" CornerRadius="7,7,0,0" IsHitTestVisible="False">
                                <Border.Background>
                                    <LinearGradientBrush StartPoint="0.501,0.143" EndPoint="0.500947867298578,1.125">
                                        <LinearGradientBrush.GradientStops>
                                            <GradientStopCollection>
                                                <GradientStop Color="#30FFFFFF" Offset="0" />
                                                <GradientStop Color="#0BFFFFFF" Offset="0.9888889789581299" />
                                            </GradientStopCollection>
                                        </LinearGradientBrush.GradientStops>
                                    </LinearGradientBrush>
                                </Border.Background>
                            </Border>
                            <ResizeGrip x:Name="WindowResizeGrip" Visibility="Collapsed" HorizontalAlignment="Right" VerticalAlignment="Bottom" Opacity="0.05" Width="Auto" Height="Auto" />
                        </Grid>
                        <AdornerDecorator>
                            <ContentPresenter />
                        </AdornerDecorator>
                        <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="8" RadiusY="8" StrokeThickness="3">
                            <Rectangle.Stroke>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#3FFFFFFF" Offset="0"/>
                                    <GradientStop Color="#33FFFFFF" Offset="1"/>
                                </LinearGradientBrush>
                            </Rectangle.Stroke>
                        </Rectangle>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="ResizeMode" Value="CanResizeWithGrip">
                            <Setter TargetName="WindowResizeGrip" Property="Visibility" Value="Visible"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    
    <Style x:Key="VoiceMailChromelessWindowTemplate" TargetType="{x:Type Window}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Window}">
                    <Grid Margin="7,7,7,7">
                        <Grid>
                            <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="8" RadiusY="8" Opacity="1" Margin="3,3,3,3">
                                <Rectangle.Fill>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="#FF1E2333" Offset="0"/>
                                        <GradientStop Color="#FF393E51" Offset="1"/>
                                        <GradientStop Color="#E52B3240" Offset="0.665"/>
                                    </LinearGradientBrush>
                                </Rectangle.Fill>
                            </Rectangle>
                            <Grid VerticalAlignment="Top" Height="20">
                                <TextBlock Text="{TemplateBinding Title}" VerticalAlignment="Center" HorizontalAlignment="Left" x:Name="TitlePresenter" FontSize="14" FontWeight="Bold" Foreground="#FFFFFFFF" Visibility="Collapsed" />
            		            <Grid HorizontalAlignment="Right" Margin="0,2,10,0" x:Name="MinMaxCloseGrid" VerticalAlignment="Top">
            			            <Grid.ColumnDefinitions>
            				            <ColumnDefinition Width="Auto"/>
            				            <ColumnDefinition Width="Auto"/>
            				            <ColumnDefinition Width="Auto"/>
            			            </Grid.ColumnDefinitions>
            			            <Border Background="#B725201F" BorderBrush="#26FFFFFF" BorderThickness="1,0,1,1" CornerRadius="0,0,4,4" Grid.ColumnSpan="3" Margin="0,1,0,0"/>
            			            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Column="2"/>
            			            <Button x:Name="MinimizeButton" Command="self:VoiceMailWindow.ToggleMinimizedState" Style="{StaticResource Min_Button}" ToolTip="Minimize" Width="24" Height="16" VerticalAlignment="Top" Margin="2,1,0,2" Visibility="Collapsed" />
            			            <Button x:Name="MaximizeButton"  Command="self:VoiceMailWindow.ToggleMaximizedState" Style="{StaticResource Max_Button}" ToolTip="Maximize" Width="24" Height="16" HorizontalAlignment="Stretch" Margin="1,1,1,2" Grid.Column="1" VerticalAlignment="Top" Visibility="Collapsed"/>
            			            <Button x:Name="CloseButton" Command="self:VoiceMailWindow.CloseWindow" Style="{StaticResource Close_Button}" ToolTip="Close" Width="40" Height="16" HorizontalAlignment="Stretch" Grid.Column="2" VerticalAlignment="Top" Margin="0,1,2,2"/>
            			            <Rectangle IsHitTestVisible="False" Opacity="0.21" Margin="2,2,2,0" VerticalAlignment="Top" Height="7" Fill="#FFFFFFFF" Grid.ColumnSpan="3"/>
            		            </Grid>
            	            </Grid>
                            <Border HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="35" Margin="1,1,1,0" CornerRadius="7,7,0,0" IsHitTestVisible="False">
                                <Border.Background>
                                    <LinearGradientBrush StartPoint="0.501,0.143" EndPoint="0.500947867298578,1.125">
                                        <LinearGradientBrush.GradientStops>
                                            <GradientStopCollection>
                                                <GradientStop Color="#30FFFFFF" Offset="0" />
                                                <GradientStop Color="#0BFFFFFF" Offset="0.9888889789581299" />
                                            </GradientStopCollection>
                                        </LinearGradientBrush.GradientStops>
                                    </LinearGradientBrush>
                                </Border.Background>
                            </Border>
                            <ResizeGrip x:Name="WindowResizeGrip" Visibility="Collapsed" HorizontalAlignment="Right" VerticalAlignment="Bottom" Opacity="0.05" Width="Auto" Height="Auto" />
                        </Grid>
                        <AdornerDecorator>
                            <ContentPresenter />
                        </AdornerDecorator>
                        <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="8" RadiusY="8" StrokeThickness="3">
                            <Rectangle.Stroke>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#3FFFFFFF" Offset="0"/>
                                    <GradientStop Color="#33FFFFFF" Offset="1"/>
                                </LinearGradientBrush>
                            </Rectangle.Stroke>
                        </Rectangle>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="ResizeMode" Value="CanResizeWithGrip">
                            <Setter TargetName="WindowResizeGrip" Property="Visibility" Value="Visible"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="PresenceHistoryChromelessWindowTemplate" TargetType="{x:Type Window}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Window}">
                    <Grid Margin="7,7,7,7">
                        <Grid>
                            <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="8" RadiusY="8" Opacity="1" Margin="3,3,3,3">
                                <Rectangle.Fill>
                                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                        <GradientStop Color="#FF1E2333" Offset="0"/>
                                        <GradientStop Color="#FF393E51" Offset="1"/>
                                        <GradientStop Color="#E52B3240" Offset="0.665"/>
                                    </LinearGradientBrush>
                                </Rectangle.Fill>
                            </Rectangle>
                            <Grid VerticalAlignment="Top" Height="20">
                                <TextBlock Text="{TemplateBinding Title}" VerticalAlignment="Center" HorizontalAlignment="Left" x:Name="TitlePresenter" FontSize="14" FontWeight="Bold" Foreground="#FFFFFFFF" Visibility="Collapsed" />
            		            <Grid HorizontalAlignment="Right" Margin="0,2,10,0" x:Name="MinMaxCloseGrid" VerticalAlignment="Top">
            			            <Grid.ColumnDefinitions>
            				            <ColumnDefinition Width="Auto"/>
            				            <ColumnDefinition Width="Auto"/>
            				            <ColumnDefinition Width="Auto"/>
            			            </Grid.ColumnDefinitions>
            			            <Border Background="#B725201F" BorderBrush="#26FFFFFF" BorderThickness="1,0,1,1" CornerRadius="0,0,4,4" Grid.ColumnSpan="3" Margin="0,1,0,0"/>
            			            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Column="2"/>
            			            <Button x:Name="MinimizeButton" Command="self:PresenceHistory.ToggleMinimizedState" Style="{StaticResource Min_Button}" ToolTip="Minimize" Width="24" Height="16" VerticalAlignment="Top" Margin="2,1,0,2" Visibility="Collapsed" />
            			            <Button x:Name="MaximizeButton"  Command="self:PresenceHistory.ToggleMaximizedState" Style="{StaticResource Max_Button}" ToolTip="Maximize" Width="24" Height="16" HorizontalAlignment="Stretch" Margin="1,1,1,2" Grid.Column="1" VerticalAlignment="Top" Visibility="Collapsed"/>
            			            <Button x:Name="CloseButton" Command="self:PresenceHistory.CloseWindow" Style="{StaticResource Close_Button}" ToolTip="Close" Width="40" Height="16" HorizontalAlignment="Stretch" Grid.Column="2" VerticalAlignment="Top" Margin="0,1,2,2"/>
            			            <Rectangle IsHitTestVisible="False" Opacity="0.21" Margin="2,2,2,0" VerticalAlignment="Top" Height="7" Fill="#FFFFFFFF" Grid.ColumnSpan="3"/>
            		            </Grid>
            	            </Grid>
                            <Border HorizontalAlignment="Stretch" VerticalAlignment="Top" Height="35" Margin="1,1,1,0" CornerRadius="7,7,0,0" IsHitTestVisible="False">
                                <Border.Background>
                                    <LinearGradientBrush StartPoint="0.501,0.143" EndPoint="0.500947867298578,1.125">
                                        <LinearGradientBrush.GradientStops>
                                            <GradientStopCollection>
                                                <GradientStop Color="#30FFFFFF" Offset="0" />
                                                <GradientStop Color="#0BFFFFFF" Offset="0.9888889789581299" />
                                            </GradientStopCollection>
                                        </LinearGradientBrush.GradientStops>
                                    </LinearGradientBrush>
                                </Border.Background>
                            </Border>
                            <ResizeGrip x:Name="WindowResizeGrip" Visibility="Collapsed" HorizontalAlignment="Right" VerticalAlignment="Bottom" Opacity="0.05" Width="Auto" Height="Auto" />
                        </Grid>
                        <AdornerDecorator>
                            <ContentPresenter />
                        </AdornerDecorator>
                        <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="8" RadiusY="8" StrokeThickness="3">
                            <Rectangle.Stroke>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#3FFFFFFF" Offset="0"/>
                                    <GradientStop Color="#33FFFFFF" Offset="1"/>
                                </LinearGradientBrush>
                            </Rectangle.Stroke>
                        </Rectangle>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger Property="ResizeMode" Value="CanResizeWithGrip">
                            <Setter TargetName="WindowResizeGrip" Property="Visibility" Value="Visible"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Key="ContactWindowTemplate" TargetType="{x:Type Window}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Window}">
                    <Grid Margin="1,1,1,1">
                        <AdornerDecorator>
                            <ContentPresenter />
                        </AdornerDecorator>
                        <Rectangle HorizontalAlignment="Stretch" VerticalAlignment="Stretch" 
                                   Width="Auto" Height="Auto" RadiusX="1" RadiusY="1" StrokeThickness="0">
                            <Rectangle.Stroke>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="#3FFFFFFF" Offset="0"/>
                                    <GradientStop Color="#33FFFFFF" Offset="1"/>
                                </LinearGradientBrush>
                            </Rectangle.Stroke>
                        </Rectangle>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>